package org.bioversityinternational.mgbms.model.dao;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
import org.bioversityinternational.mgbms.model.dao.base.BaseDao;
import org.bioversityinternational.mgbms.model.domain.Accession;

@Component
public class AccessionDao extends BaseDao<Accession, Integer>
{
	private static final Logger LOG = Logger.getLogger(AccessionDao.class);
	
	public AccessionDao() {
		super(Accession.class);		
        LOG.debug("AccessionDao constructed");
	}
	
	@Override
	public Integer getIdFromString(String sIdAsString) {
		return Integer.parseInt(sIdAsString);
	}
		
}

